<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="CadreDidactice.aspx.cs" Inherits="IEWebSite.CadreDidactice" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>
        Cadre didactice
    </h1>
    <telerik:RadListView ID="RadListView1" runat="server" DataSourceID="SqlDataSource1"
        ItemPlaceholderID="ListViewContainer">
        <LayoutTemplate>
            <asp:PlaceHolder runat="server" ID="ListViewContainer" />
        </LayoutTemplate>
        <ItemTemplate>
            <fieldset style="float: left; width: 400px; height:170px;">
                <legend>
                    <%#Eval("Nume")%>
                    <%#Eval("Prenume")%></legend>
                <div class="details">
                    <div class="photo-container">
                        <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Poza") %>'
                            AutoAdjustImageControlSize="false" Width="113px" Height="121px" ToolTip='<%#Eval("Nume", "Photo of {0}") %>'
                            AlternateText='<%#Eval("Nume", "Photo of {0}") %>' />
                    </div>
                    <div class="data-container">
                        <table style="text-align: left;">
                            <tr>
                                <td>
                                    <label>
                                        Titlu didactic:</label>
                                </td>
                                <td>
                                    <%#Eval("TitluDidactic")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label>
                                        Titlu stiintific:</label>
                                </td>
                                <td>
                                    <%#Eval("TitluStiintific")%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <label>
                                        Email:</label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <%#Eval("Email")%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <label>
                                        Website:</label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><a href="<%#Eval("WebSite")%>" title="<%#Eval("Nume")%> <%#Eval("Prenume")%>">
                                    <%#Eval("WebSite")%></a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </fieldset>
        </ItemTemplate>
    </telerik:RadListView>
    <div style="clear: both;"></div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>"
            
            SelectCommand="SELECT PersonalDidactic.Poza, PersonalDidactic.Prenume, PersonalDidactic.Nume, PersonalDidactic.WebSite, PersonalDidactic.Email, SysColectiv.SysNumeColectiv AS NumeColectiv, SysTitluDidactic.TitluDidactic, SysTitluStiintific.TitluStiintific FROM PersonalDidactic INNER JOIN SysColectiv ON PersonalDidactic.IdSysColectiv = SysColectiv.IdSysColectiv INNER JOIN SysTitluDidactic ON PersonalDidactic.IdSysTitluDidactic = SysTitluDidactic.IdSysTitluDidactic INNER JOIN SysTitluStiintific ON PersonalDidactic.IdSysTitluStiintific = SysTitluStiintific.IdSysTitluStiintific ORDER BY PersonalDidactic.IdSysTitluDidactic DESC, PersonalDidactic.IdSysTitluStiintific, PersonalDidactic.Nume, PersonalDidactic.Prenume">
        </asp:SqlDataSource>
</asp:Content>
